<template>
  <div class="layout-container">
    <!-- 顶部导航栏 -->
    <HeaderComponent />
    <!-- 主要内容区域 -->
    <main class="main-content">
      <slot />
    </main>
    <!-- 页脚 -->
    <FooterComponent />
  </div>
</template>

<script setup>
</script>

<style lang="scss">
@font-face {
  font-family: 'iconfont';  /* Project id 4301938 */
  src: url('/assets/fonts/iconfont.woff2') format('woff2'),
       url('/assets/fonts/iconfont.woff') format('woff'),
       url('/assets/fonts/iconfont.ttf') format('truetype');
}

html,
body {
  font-family: Arial, Verdana, Sans-serif;
  color: #2d2d2d;
  padding: 0;
  margin: 0;
  background-color: #818192;
  background-image: url('/assets/images/BGIMG.png');
  background-size: 100%;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.layout-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

// 主内容区域
.main-content {
  max-width: 100%;
  margin: 0 auto;
  flex: 1;
  // padding: 24px 0;
  min-height: calc(100vh - 64px - 200px);
}
@media (max-width: 575px) {
  .html, body {
    background-image: url('/assets/images/BGIMGS.png');
    // background-color: aqua;
    // background-size: 100% 100%;
    // background-attachment: fixed;
    // background-repeat: no-repeat;
  }
}
</style>
